package chapter10.practice26;

/**
 * 主要用来观察内部类的继承
 * 内部类的继承需要使用父类的构造方法
 * Created by yangliwei on 2017/10/25.
 */
public class Parent {
    class ParentInner{
        private String parent;
        public ParentInner(String parent) {
            this.parent = parent;
            System.out.println(this.parent);
        }
    }
}
